﻿<?php
include 'lanewechat.php';
$openid = isset($_GET['openid']) ? $_GET['openid'] : '';
if( empty($openid) ){
	\LaneWeChat\Core\Common::outPutJson(2,'用户信息获取失败！');
}
$price = isset($_GET['price']) ? $_GET['price'] : 0;
$goodsname = isset($_GET['goodsname']) ? $_GET['goodsname'] : '外卖点餐';

\LaneWeChat\Core\Common::createOrder( $openid , $price , $goodsname );

?>

